package indi.demo.flying.mapper;

import java.util.Collection;
import java.util.Map;

import indi.demo.flying.pojo.Role;

public interface RoleMapper {

	public Role mySelect(Object id);

	public Collection<Role> mySelectAll(Role t);

	public Role mySelectOne(Role t);

	public void myInsert(Role t);

	public int myUpdate(Role t);

	public int myUpdatePersistent(Role t);

	public int myDelete(Role t);

	public int myCount(Role t);

	public int updateDirect(Map<String, Object> t);

	public int updateDirectWithoutCache(Map<String, Object> t);
}
